{
    "name": "Formation Instagram Abyssale",
    "flow": [
        {
            "id": 13,
            "module": "airtable:TriggerWatchRecords",
            "version": 3,
            "parameters": {
                "base": "appBM6OH5sqGRkDvq",
                "view": "",
                "table": "tblgvKZslSLbCfTbL",
                "config": {
                    "labelField": "Description",
                    "triggerField": "Crée le"
                },
                "formula": "",
                "maxRecords": 1,
                "__IMTCONN__": 871949,
                "useColumnId": false
            },
            "mapper": {},
            "metadata": {
                "designer": {
                    "x": 0,
                    "y": 0
                },
                "restore": {
                    "parameters": {
                        "base": {
                            "label": "Formations Instagram"
                        },
                        "view": {
                            "label": "Empty"
                        },
                        "table": {
                            "label": "Abysalle"
                        },
                        "config": {
                            "nested": {
                                "labelField": {
                                    "label": "Description"
                                },
                                "triggerField": {
                                    "label": "Crée le"
                                }
                            }
                        },
                        "__IMTCONN__": {
                            "data": {
                                "scoped": "true",
                                "connection": "airtable2"
                            },
                            "label": "My Airtable connection"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "__IMTCONN__",
                        "type": "account:airtable3,airtable2",
                        "label": "Connection",
                        "required": true
                    },
                    {
                        "name": "base",
                        "type": "select",
                        "label": "Base",
                        "required": true
                    },
                    {
                        "name": "useColumnId",
                        "type": "boolean",
                        "label": "Use Column ID",
                        "required": true
                    },
                    {
                        "name": "table",
                        "type": "select",
                        "label": "Table",
                        "required": true
                    },
                    {
                        "name": "config",
                        "spec": [
                            {
                                "name": "triggerField",
                                "type": "select",
                                "label": "Trigger field",
                                "required": true
                            },
                            {
                                "name": "triggerField",
                                "type": "hidden"
                            },
                            {
                                "name": "labelField",
                                "type": "select",
                                "label": "Label field",
                                "required": true
                            }
                        ],
                        "type": "collection",
                        "label": "Trigger configuration"
                    },
                    {
                        "name": "maxRecords",
                        "type": "integer",
                        "label": "Limit",
                        "required": true
                    },
                    {
                        "name": "view",
                        "type": "select",
                        "label": "View"
                    },
                    {
                        "name": "formula",
                        "type": "text",
                        "label": "Formula"
                    }
                ],
                "interface": [
                    {
                        "name": "id",
                        "type": "text",
                        "label": "ID"
                    },
                    {
                        "name": "createdTime",
                        "type": "date",
                        "label": "Created Time"
                    },
                    {
                        "name": "Description",
                        "type": "text",
                        "label": "Description",
                        "multiline": true
                    },
                    {
                        "name": "Tags",
                        "type": "text",
                        "label": "Tags",
                        "multiline": true
                    },
                    {
                        "name": "Auteur",
                        "type": "text",
                        "label": "Auteur"
                    },
                    {
                        "name": "Crée le",
                        "type": "date",
                        "label": "Crée le"
                    }
                ]
            }
        },
        {
            "id": 15,
            "module": "abyssale:GenerateBannerFromTemplate",
            "version": 1,
            "parameters": {
                "__IMTCONN__": 1884499
            },
            "mapper": {
                "elements": {
                    "root": {},
                    "text_job": {
                        "payload": "{{13.text_job}}"
                    },
                    "text_head": {
                        "payload": "{{13.text_head}}"
                    },
                    "text_name": {
                        "payload": "{{13.text_name}}"
                    },
                    "image_arrow": {},
                    "text_article": {
                        "payload": "{{13.text_article}}"
                    },
                    "image_decoration": {}
                },
                "template_id": "b6de357a-2a8d-4f19-9d9a-2b969451a08c"
            },
            "metadata": {
                "designer": {
                    "x": 300,
                    "y": 0
                },
                "restore": {
                    "expect": {
                        "template_id": {
                            "mode": "chose",
                            "label": "Nico template",
                            "nested": [
                                {
                                    "name": "elements",
                                    "spec": [
                                        {
                                            "name": "root",
                                            "spec": [
                                                {
                                                    "help": "6 or 8 digits hexadecimal background color of the banner (i.e. #F3F3F3)",
                                                    "name": "background_color",
                                                    "type": "text",
                                                    "validate": {
                                                        "min": 7,
                                                        "pattern": "^#[0-9a-fA-F]{6,8}$"
                                                    }
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Element: root"
                                        },
                                        {
                                            "name": "text_job",
                                            "spec": [
                                                {
                                                    "help": "Text content (i.e. Lorem ipsum)",
                                                    "name": "payload",
                                                    "type": "text"
                                                },
                                                {
                                                    "help": "6 or 8 digits hexadecimal color of the text (i.e. #EAEAEA)",
                                                    "name": "color",
                                                    "type": "text",
                                                    "validate": {
                                                        "min": 7,
                                                        "pattern": "^#[0-9a-fA-F]{6,8}$"
                                                    }
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Element: text_job"
                                        },
                                        {
                                            "name": "text_name",
                                            "spec": [
                                                {
                                                    "help": "Text content (i.e. Lorem ipsum)",
                                                    "name": "payload",
                                                    "type": "text"
                                                },
                                                {
                                                    "help": "6 or 8 digits hexadecimal color of the text (i.e. #EAEAEA)",
                                                    "name": "color",
                                                    "type": "text",
                                                    "validate": {
                                                        "min": 7,
                                                        "pattern": "^#[0-9a-fA-F]{6,8}$"
                                                    }
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Element: text_name"
                                        },
                                        {
                                            "name": "image_arrow",
                                            "spec": [
                                                {
                                                    "help": "Public HTTP(s) URL of the image (i.e. https://photo.com/image.png)",
                                                    "name": "image_url",
                                                    "type": "url"
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Element: image_arrow"
                                        },
                                        {
                                            "name": "image_decoration",
                                            "spec": [
                                                {
                                                    "help": "Public HTTP(s) URL of the image (i.e. https://photo.com/image.png)",
                                                    "name": "image_url",
                                                    "type": "url"
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Element: image_decoration"
                                        },
                                        {
                                            "name": "text_article",
                                            "spec": [
                                                {
                                                    "help": "Text content (i.e. Lorem ipsum)",
                                                    "name": "payload",
                                                    "type": "text"
                                                },
                                                {
                                                    "help": "6 or 8 digits hexadecimal color of the text (i.e. #EAEAEA)",
                                                    "name": "color",
                                                    "type": "text",
                                                    "validate": {
                                                        "min": 7,
                                                        "pattern": "^#[0-9a-fA-F]{6,8}$"
                                                    }
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Element: text_article"
                                        },
                                        {
                                            "name": "text_head",
                                            "spec": [
                                                {
                                                    "help": "Text content (i.e. Lorem ipsum)",
                                                    "name": "payload",
                                                    "type": "text"
                                                },
                                                {
                                                    "help": "6 or 8 digits hexadecimal color of the text (i.e. #EAEAEA)",
                                                    "name": "color",
                                                    "type": "text",
                                                    "validate": {
                                                        "min": 7,
                                                        "pattern": "^#[0-9a-fA-F]{6,8}$"
                                                    }
                                                }
                                            ],
                                            "type": "collection",
                                            "label": "Element: text_head"
                                        }
                                    ],
                                    "type": "collection",
                                    "label": "Elements",
                                    "sequence": true
                                }
                            ]
                        }
                    },
                    "parameters": {
                        "__IMTCONN__": {
                            "data": {
                                "scoped": "true",
                                "connection": "abyssale"
                            },
                            "label": "Nico"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "__IMTCONN__",
                        "type": "account:abyssale",
                        "label": "Connection",
                        "required": true
                    }
                ],
                "expect": [
                    {
                        "name": "template_id",
                        "type": "select",
                        "label": "Template ID",
                        "required": true
                    },
                    {
                        "name": "elements",
                        "spec": [
                            {
                                "name": "root",
                                "spec": [
                                    {
                                        "name": "background_color",
                                        "type": "text",
                                        "validate": {
                                            "min": 7,
                                            "pattern": "^#[0-9a-fA-F]{6,8}$"
                                        }
                                    }
                                ],
                                "type": "collection",
                                "label": "Element: root"
                            },
                            {
                                "name": "text_job",
                                "spec": [
                                    {
                                        "name": "payload",
                                        "type": "text"
                                    },
                                    {
                                        "name": "color",
                                        "type": "text",
                                        "validate": {
                                            "min": 7,
                                            "pattern": "^#[0-9a-fA-F]{6,8}$"
                                        }
                                    }
                                ],
                                "type": "collection",
                                "label": "Element: text_job"
                            },
                            {
                                "name": "text_name",
                                "spec": [
                                    {
                                        "name": "payload",
                                        "type": "text"
                                    },
                                    {
                                        "name": "color",
                                        "type": "text",
                                        "validate": {
                                            "min": 7,
                                            "pattern": "^#[0-9a-fA-F]{6,8}$"
                                        }
                                    }
                                ],
                                "type": "collection",
                                "label": "Element: text_name"
                            },
                            {
                                "name": "image_arrow",
                                "spec": [
                                    {
                                        "name": "image_url",
                                        "type": "url"
                                    }
                                ],
                                "type": "collection",
                                "label": "Element: image_arrow"
                            },
                            {
                                "name": "image_decoration",
                                "spec": [
                                    {
                                        "name": "image_url",
                                        "type": "url"
                                    }
                                ],
                                "type": "collection",
                                "label": "Element: image_decoration"
                            },
                            {
                                "name": "text_article",
                                "spec": [
                                    {
                                        "name": "payload",
                                        "type": "text"
                                    },
                                    {
                                        "name": "color",
                                        "type": "text",
                                        "validate": {
                                            "min": 7,
                                            "pattern": "^#[0-9a-fA-F]{6,8}$"
                                        }
                                    }
                                ],
                                "type": "collection",
                                "label": "Element: text_article"
                            },
                            {
                                "name": "text_head",
                                "spec": [
                                    {
                                        "name": "payload",
                                        "type": "text"
                                    },
                                    {
                                        "name": "color",
                                        "type": "text",
                                        "validate": {
                                            "min": 7,
                                            "pattern": "^#[0-9a-fA-F]{6,8}$"
                                        }
                                    }
                                ],
                                "type": "collection",
                                "label": "Element: text_head"
                            }
                        ],
                        "type": "collection",
                        "label": "Elements",
                        "sequence": true
                    }
                ]
            }
        },
        {
            "id": 7,
            "module": "instagram-business:CreatePostPhoto",
            "version": 1,
            "parameters": {
                "__IMTCONN__": 1840589
            },
            "mapper": {
                "caption": "{{13.Tags}}",
                "accountId": "17841459845966445",
                "image_url": "{{15.file.cdn_url}}"
            },
            "metadata": {
                "designer": {
                    "x": 600,
                    "y": 0
                },
                "restore": {
                    "expect": {
                        "accountId": {
                            "mode": "chose",
                            "label": "TriompheTalk (@triomphetalk)"
                        },
                        "user_tags": {
                            "mode": "chose"
                        }
                    },
                    "parameters": {
                        "__IMTCONN__": {
                            "data": {
                                "scoped": "true",
                                "connection": "facebook"
                            },
                            "label": "TriomphTalk (Nicolas Leroy)"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "__IMTCONN__",
                        "type": "account:facebook",
                        "label": "Connection",
                        "required": true
                    }
                ],
                "expect": [
                    {
                        "name": "accountId",
                        "type": "select",
                        "label": "Page",
                        "required": true
                    },
                    {
                        "name": "image_url",
                        "type": "url",
                        "label": "Photo URL",
                        "required": true
                    },
                    {
                        "name": "caption",
                        "type": "text",
                        "label": "Caption"
                    },
                    {
                        "name": "user_tags",
                        "spec": [
                            {
                                "name": "username",
                                "type": "text",
                                "label": "Username",
                                "required": true,
                                "validate": {
                                    "pattern": "^(?!@)"
                                }
                            },
                            {
                                "name": "x",
                                "type": "number",
                                "label": "X position",
                                "required": true,
                                "validate": {
                                    "max": 1,
                                    "min": 0
                                }
                            },
                            {
                                "name": "y",
                                "type": "number",
                                "label": "Y position",
                                "required": true,
                                "validate": {
                                    "max": 1,
                                    "min": 0
                                }
                            }
                        ],
                        "type": "array",
                        "label": "User Tags"
                    },
                    {
                        "name": "location_id",
                        "type": "text",
                        "label": "Location ID"
                    }
                ]
            }
        },
        {
            "id": 14,
            "module": "util:FunctionSleep",
            "version": 1,
            "parameters": {},
            "mapper": {
                "duration": "300"
            },
            "metadata": {
                "designer": {
                    "x": 900,
                    "y": 0
                },
                "restore": {},
                "expect": [
                    {
                        "name": "duration",
                        "type": "uinteger",
                        "label": "Delay",
                        "required": true,
                        "validate": {
                            "max": 300,
                            "min": 1
                        }
                    }
                ]
            }
        }
    ],
    "metadata": {
        "instant": false,
        "version": 1,
        "scenario": {
            "roundtrips": 1,
            "maxErrors": 3,
            "autoCommit": true,
            "autoCommitTriggerLast": true,
            "sequential": false,
            "confidential": false,
            "dataloss": false,
            "dlq": false,
            "freshVariables": false
        },
        "designer": {
            "orphans": [
                [
                    {
                        "id": 8,
                        "module": "openai-gpt-3:CreateCompletion",
                        "version": 1,
                        "parameters": {
                            "__IMTCONN__": 1626157
                        },
                        "mapper": {
                            "model": "text-davinci-003",
                            "prompt": "Crée moi une liste de 15 hashtags maximum pour instagram pour cette description : \"{{13.Description}}\"\n\nMets toujours le tag triomphetalk au début.",
                            "select": "prompt",
                            "max_tokens": "1000",
                            "temperature": "0.7"
                        },
                        "metadata": {
                            "designer": {
                                "x": 0,
                                "y": 306,
                                "messages": [
                                    {
                                        "category": "reference",
                                        "severity": "warning",
                                        "message": "Referenced module 'Airtable - Watch Records' [13] is not accessible."
                                    },
                                    {
                                        "category": "link",
                                        "severity": "warning",
                                        "message": "The module is not connected to the data flow."
                                    }
                                ]
                            },
                            "restore": {
                                "expect": {
                                    "echo": {
                                        "mode": "chose"
                                    },
                                    "model": {
                                        "mode": "chose",
                                        "label": "text-davinci-003"
                                    },
                                    "select": {
                                        "label": "Create a Prompt Completion"
                                    },
                                    "additionalParameters": {
                                        "mode": "chose"
                                    }
                                },
                                "parameters": {
                                    "__IMTCONN__": {
                                        "data": {
                                            "scoped": "true",
                                            "connection": "openai-gpt-3"
                                        },
                                        "label": "OpenAI Nico"
                                    }
                                }
                            },
                            "parameters": [
                                {
                                    "name": "__IMTCONN__",
                                    "type": "account:openai-gpt-3",
                                    "label": "Connection",
                                    "required": true
                                }
                            ],
                            "expect": [
                                {
                                    "name": "select",
                                    "type": "select",
                                    "label": "Select Method",
                                    "required": true,
                                    "validate": {
                                        "enum": [
                                            "prompt",
                                            "chat"
                                        ]
                                    }
                                },
                                {
                                    "name": "max_tokens",
                                    "type": "number",
                                    "label": "Max Tokens"
                                },
                                {
                                    "name": "temperature",
                                    "type": "number",
                                    "label": "Temperature"
                                },
                                {
                                    "name": "top_p",
                                    "type": "number",
                                    "label": "Top p"
                                },
                                {
                                    "name": "n_completions",
                                    "type": "number",
                                    "label": "N"
                                },
                                {
                                    "name": "echo",
                                    "type": "boolean",
                                    "label": "Echo"
                                },
                                {
                                    "name": "additionalParameters",
                                    "spec": [
                                        {
                                            "name": "key",
                                            "type": "text",
                                            "label": "Parameter Name",
                                            "required": true
                                        },
                                        {
                                            "name": "type",
                                            "type": "select",
                                            "label": "Input Type",
                                            "options": [
                                                {
                                                    "label": "Text",
                                                    "value": "text",
                                                    "nested": [
                                                        {
                                                            "name": "value",
                                                            "type": "text",
                                                            "label": "Parameter Value"
                                                        }
                                                    ],
                                                    "default": true
                                                },
                                                {
                                                    "label": "Number",
                                                    "value": "number",
                                                    "nested": [
                                                        {
                                                            "name": "value",
                                                            "type": "number",
                                                            "label": "Parameter Value"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "label": "Boolean",
                                                    "value": "boolean",
                                                    "nested": [
                                                        {
                                                            "name": "value",
                                                            "type": "boolean",
                                                            "label": "Parameter Value"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "label": "Date",
                                                    "value": "date",
                                                    "nested": [
                                                        {
                                                            "name": "value",
                                                            "type": "date",
                                                            "label": "Parameter Value"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "label": "Any",
                                                    "value": "any",
                                                    "nested": [
                                                        {
                                                            "name": "value",
                                                            "type": "any",
                                                            "label": "Parameter Value"
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ],
                                    "type": "array",
                                    "label": "Other Input Parameters"
                                },
                                {
                                    "name": "model",
                                    "type": "select",
                                    "label": "Model",
                                    "required": true
                                },
                                {
                                    "name": "prompt",
                                    "type": "any",
                                    "label": "Prompt"
                                }
                            ],
                            "advanced": true
                        }
                    },
                    {
                        "id": 9,
                        "module": "airtable:ActionUpdateRecords",
                        "version": 3,
                        "parameters": {
                            "__IMTCONN__": 871949
                        },
                        "mapper": {
                            "id": "{{13.id}}",
                            "base": "appBM6OH5sqGRkDvq",
                            "table": "tblnq1x0t5JzqzkrC",
                            "record": {
                                "fldYv38iEFiLtVZF7": "{{8.choices[].text}}"
                            },
                            "typecast": false,
                            "useColumnId": false
                        },
                        "metadata": {
                            "designer": {
                                "x": 268,
                                "y": 311,
                                "messages": [
                                    {
                                        "category": "reference",
                                        "severity": "warning",
                                        "message": "Referenced module 'Airtable - Watch Records' [13] is not accessible."
                                    }
                                ]
                            },
                            "restore": {
                                "expect": {
                                    "base": {
                                        "label": "Formations Instagram"
                                    },
                                    "table": {
                                        "label": "HTML/CSS"
                                    },
                                    "typecast": {
                                        "mode": "chose"
                                    },
                                    "useColumnId": {
                                        "mode": "chose"
                                    }
                                },
                                "parameters": {
                                    "__IMTCONN__": {
                                        "data": {
                                            "scoped": "true",
                                            "connection": "airtable2"
                                        },
                                        "label": "My Airtable connection"
                                    }
                                }
                            },
                            "parameters": [
                                {
                                    "name": "__IMTCONN__",
                                    "type": "account:airtable3,airtable2",
                                    "label": "Connection",
                                    "required": true
                                }
                            ],
                            "expect": [
                                {
                                    "name": "base",
                                    "type": "select",
                                    "label": "Base",
                                    "required": true
                                },
                                {
                                    "name": "typecast",
                                    "type": "boolean",
                                    "label": "Smart links",
                                    "required": true
                                },
                                {
                                    "name": "useColumnId",
                                    "type": "boolean",
                                    "label": "Use Column ID",
                                    "required": true
                                },
                                {
                                    "name": "table",
                                    "type": "select",
                                    "label": "Table",
                                    "required": true
                                },
                                {
                                    "name": "id",
                                    "type": "text",
                                    "label": "Record ID",
                                    "required": true
                                },
                                {
                                    "name": "record",
                                    "spec": [
                                        {
                                            "name": "fldbnes1owMYKPvX7",
                                            "type": "text",
                                            "label": "Description"
                                        },
                                        {
                                            "name": "fldYv38iEFiLtVZF7",
                                            "type": "text",
                                            "label": "Tags"
                                        },
                                        {
                                            "name": "fldWyr6EUS07PT0qz",
                                            "type": "text",
                                            "label": "Auteur"
                                        }
                                    ],
                                    "type": "collection",
                                    "label": "Record"
                                }
                            ],
                            "interface": [
                                {
                                    "name": "id",
                                    "type": "text",
                                    "label": "ID"
                                },
                                {
                                    "name": "createdTime",
                                    "type": "date",
                                    "label": "Created Time"
                                },
                                {
                                    "name": "Description",
                                    "type": "text",
                                    "label": "Description",
                                    "multiline": true
                                },
                                {
                                    "name": "Tags",
                                    "type": "text",
                                    "label": "Tags",
                                    "multiline": true
                                },
                                {
                                    "name": "Auteur",
                                    "type": "text",
                                    "label": "Auteur"
                                },
                                {
                                    "name": "Crée le",
                                    "type": "date",
                                    "label": "Crée le"
                                }
                            ]
                        }
                    }
                ]
            ]
        },
        "zone": "eu1.make.com"
    }
}